package com.example.shoppingmallspringboot.service.impl;

import com.example.shoppingmallspringboot.entity.Swiper;
import com.example.shoppingmallspringboot.mapper.SwiperMapper;
import com.example.shoppingmallspringboot.service.SwiperService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SwiperServiceImpl implements SwiperService {
    
    @Autowired
    private SwiperMapper swiperMapper;

    @Override
    public List<Swiper> getAllCarousel() {
        return swiperMapper.selectList(null);
    }
} 